import request from '@/utils/request'

// 获取排课课程列表接口
export const appointmentList = (params) => {
    return request.get('/user-appointment/list', { params })
}

//获取详情
export const appointmentInfo = (params) => {
    return request.get('/user-appointment', { params })
}


// 结束预约课程
export const appointmentFinish = (data) => {
    return request.put('/user-appointment/finish', data)
}